String[]b = new String[]{"我","是","中","国","人"};
test(b);
System.out.println("--------------------");
//等价于
test("我","是","中","国","人")；
public static void test (Object...objects){
	if(objects!=null && object.length>0){
		for ((int i=0;i<objects.length;i++){
			System.out.println(objects[i];
		}
	}
}